package com.xmy.cultivate.service;

import com.xmy.cultivate.entity.EnrollTeam;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmy.cultivate.entity.EnrollTeamMember;

import java.util.List;

/**
 * <p>
 * 招生战队 服务类
 * </p>
 *
 * @author min
 * @since 2023-02-10
 */
public interface IEnrollTeamService extends IService<EnrollTeam> {

    public abstract boolean addBatchMember(EnrollTeam enrollTeam);

    public abstract boolean removeBatchMember(EnrollTeam enrollTeam);

    public abstract boolean delBatchMember(EnrollTeam enrollTeam);

    public abstract boolean setTeamCaptain(String teamId,String teacherId);

    public abstract List<EnrollTeamMember> getTeamMemberList(String teamId, String name, String status);

    public abstract List<EnrollTeam> getTreeList(Long pid,String yearPart,String quarterNum,String status);

    String getChilTeamAtDataName(Long teamId, String startDate, String endDate);
}
